﻿#ifndef CHNSWITCHTBAR_H
#define CHNSWITCHTBAR_H

#include <QWidget>
#include <QLabel>
#include <QPushButton>
#include <QResizeEvent>

class ChnSwitchTBar : public QWidget
{
    Q_OBJECT
public:
    explicit ChnSwitchTBar(QWidget *parent = nullptr);
public slots:
    void slot_btn_del();
    void slot_btn_delall();
protected:
    void resizeEvent(QResizeEvent *event);
private:
    QLabel* lab_title_;
    QPushButton* btn_del_;
    QPushButton* btn_delall_;
};

#endif // CHNSWITCHTBAR_H
